package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.common.InspectRule;
import com.py.framework.core.common.Page;

public interface ColumnRuleService {

	public void add(String ruleName, String ruleDesc, String rulePackage, String ruleMethod, Long managerId,
			String time,String ruleMsg);

	public void del(String ids);

	public InspectRule select(int id);

	public void modify(int id, String ruleName, String ruleDesc, String rulePackage, String ruleMethod, Long managerId,
			String time,String ruleMsg);

	public int selectSameName(String ruleName);

	public void checkRule(int id, String data, String extend);

	public List<Map<String, Object>> getByConditionForPage(List<String> showColumns, String[] additionalColumns,
			String condition, Page page, String filedCode);

	public List<Map<String, Object>> getByCondition(String condition, List<String> columns);

	public List<InspectRule> getColumnRules(String ruleName);

	public List<InspectRule> getBindRuleColumns(Integer version, String ruleId, String resourceName, Page page);

}
